﻿namespace HamcoWcs.Models.Common.Enums
{
    /// <summary>
    /// 子任务类型
    /// </summary>
    public enum EnumSubTaskType
    {
        /// <summary>
        /// 输送机任务
        /// </summary>
        PconTask = 0,
        /// <summary>
        /// 堆垛机入库任务
        /// </summary>
        SrmInTask = 1,
        /// <summary>
        /// 堆垛机出库任务
        /// </summary>
        SrmOutTask = 2,
        /// <summary>
        /// 堆垛机移动任务
        /// </summary>
        SrmMoveTask = 3,
        /// <summary>
        /// 堆垛机直出任务
        /// </summary>
        SrmStraightOutTask = 4,
        /// <summary>
        /// 堆垛机盘点任务
        /// </summary>
        SrmInventoryTask = 5,
        /// <summary>异常入库</summary>
        SrmAbnormalInboundTask = 6,
        /// <summary>异常出库</summary>
        SrmAbnormalOutboundTask = 7,
    }

    /// <summary>
    /// 子任务状态
    /// </summary>
    public enum EnumSubTaskStatus
    {
        NewTask = 0,

        Ready = 1,

        OnProgress = 2,

        Finished = 3,

        Error = 4,

        Change = 5,
    }
}
